using ManagedUIFlow.Model;
using Xunit;

namespace ManagedUIFlow.Specs.Model
{
    public class ManagedFlowSpecs
    {

        [Fact]
        public void SetNavigation_SetsCurrentNavigation()
        {
            var flow = new ManagedFlow("foo");

            flow.SetNavigation("bar");

            Assert.Equal("bar", flow.CurrentNavigation);
        }
    }
}